package com.main.menuinterfacesmanagement.domain.menu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.main.common.base.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.autoconfigure.domain.EntityScan;


/**
 * @author Lin 2025/05/07
 * @version 1.0.0
 * 菜单实体
 */
@TableName("menu")
@EqualsAndHashCode(callSuper = true)
@Data
@EntityScan
public class menu extends BaseEntity {
    @TableField(value = "id")
    private Long id;
    @TableField(value = "name")
    private String name;
    @TableField(value = "type_code")
    private String typeCode;
    @TableField(value = "path")
    private String path;
    @TableField(value = "parent_id")
    private String parentId;
}

